<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title><?php echo $this->title?></title>
<script src="<?php echo $this->pubUrl ?>share/js/jquery/jquery.js"></script>
<script src="<?php echo $this->pubUrl ?>share/js/jquery/jquery.validate.js"></script>
<style>
    html{height:100%;}
    body{margin:0;padding:0;overflow: hidden;height:100%;}
</style>
<body>
<?php echo $this->loadTemplate('share'.DS.'message.phtml') ?>
<form id="certificate_form" action="<?php echo $this->getUrl()?>" method="post">
	<input type="hidden" name="showroomid" value="<?php echo $this->model->getId()?>"/>
    <input type="password" id="code" name="code"/>
    <button type="submit">提交</button>
</form>
<script language="javascript" type="text/javascript">
$('#certificate_form').validate({
   rules:{
	   code:{required: true}
   }
});
</script>
</body>
</html>